import requests

# 发送GET请求
# res = requests.get(
#     url="",
#     headers={
#
#     }
# )
# print(res.text)
# print(res.headers)

# 发送POST 请求
res = requests.post(
    url='https://dig.chouti.com/login',
    data={
        "password": "123123",
        "jid": "吴峰"
    },
    headers={
        'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36'
    }
)
print(res.text)
print(res.headers)


